home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-09-29 | 2.6 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Sep 29 18:28:10 1993, modified Wed Sep 29 18:28:10 1993, creator Think C, type ASCII, 1978 bytes "SimpleDrag.h" , at 0x83a 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 53 69 6d 70 6c 65 | 44 72 61 67 2e 68 00 00 |..Simple|Drag.h..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 07 ba 00 | 00 01 ac a8 cf bc 7a a8 |........|......z.|
|00000060| cf bc 7a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..z.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 17 00 00 00 |........|........|
|00000080| 2f 2a 0d 20 2a 20 20 53 | 69 6d 70 6c 65 44 72 61 |/*. * S|impleDra|
|00000090| 67 2e 68 20 20 20 20 20 | 44 72 61 67 20 4d 61 6e |g.h |Drag Man|
|000000a0| 61 67 65 72 20 73 61 6d | 70 6c 65 20 70 72 6f 67 |ager sam|ple prog|
|000000b0| 72 61 6d 20 68 65 61 64 | 65 72 0d 20 2a 0d 20 2a |ram head|er. *. *|
|000000c0| 20 20 76 20 31 2e 30 64 | 32 20 20 37 2f 39 33 20 | v 1.0d|2 7/93 |
|000000d0| 47 72 65 67 20 52 6f 62 | 62 69 6e 73 0d 20 2a 0d |Greg Rob|bins. *.|
|000000e0| 20 2a 2f 0d 0d 23 69 6e | 63 6c 75 64 65 20 3c 51 | */..#in|clude <Q|
|000000f0| 75 69 63 6b 44 72 61 77 | 2e 68 3e 0d 23 69 6e 63 |uickDraw|.h>.#inc|
|00000100| 6c 75 64 65 20 3c 53 74 | 61 6e 64 61 72 64 46 69 |lude <St|andardFi|
|00000110| 6c 65 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |le.h>.#i|nclude <|
|00000120| 46 6f 6e 74 73 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |Fonts.h>|.#includ|
|00000130| 65 20 3c 4d 65 6e 75 73 | 2e 68 3e 0d 23 69 6e 63 |e <Menus|.h>.#inc|
|00000140| 6c 75 64 65 20 3c 44 69 | 61 6c 6f 67 73 2e 68 3e |lude <Di|alogs.h>|
|00000150| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 45 76 65 6e 74 |.#includ|e <Event|
|00000160| 73 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 54 |s.h>.#in|clude <T|
|00000170| 65 78 74 45 64 69 74 2e | 68 3e 0d 23 69 6e 63 6c |extEdit.|h>.#incl|
|00000180| 75 64 65 20 3c 4f 53 45 | 76 65 6e 74 73 2e 68 3e |ude <OSE|vents.h>|
|00000190| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 44 65 73 6b 2e |.#includ|e <Desk.|
|000001a0| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 3c 41 70 70 |h>.#incl|ude <App|
|000001b0| 6c 65 45 76 65 6e 74 73 | 2e 68 3e 0d 23 69 6e 63 |leEvents|.h>.#inc|
|000001c0| 6c 75 64 65 20 3c 47 65 | 73 74 61 6c 74 45 71 75 |lude <Ge|staltEqu|
|000001d0| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 54 6f |.h>.#inc|lude <To|
|000001e0| 6f 6c 55 74 69 6c 73 2e | 68 3e 0d 23 69 6e 63 6c |olUtils.|h>.#incl|
|000001f0| 75 64 65 20 3c 50 72 6f | 63 65 73 73 65 73 2e 68 |ude <Pro|cesses.h|
|00000200| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 45 72 72 6f |>.#inclu|de <Erro|
|00000210| 72 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |rs.h>.#i|nclude <|
|00000220| 44 72 61 67 2e 68 3e 0d | 23 69 66 64 65 66 20 54 |Drag.h>.|#ifdef T|
|00000230| 48 49 4e 4b 5f 43 0d 23 | 69 6e 63 6c 75 64 65 20 |HINK_C.#|include |
|00000240| 3c 42 44 43 2e 68 3e 0d | 23 65 6c 73 65 0d 23 69 |<BDC.h>.|#else.#i|
|00000250| 6e 63 6c 75 64 65 20 3c | 50 61 63 6b 61 67 65 73 |nclude <|Packages|
|00000260| 2e 68 3e 0d 23 65 6e 64 | 69 66 0d 0d 0d 2f 2f 20 |.h>.#end|if...// |
|00000270| 66 75 6e 63 74 69 6f 6e | 20 70 72 6f 74 6f 74 79 |function| prototy|
|00000280| 70 65 73 0d 0d 70 61 73 | 63 61 6c 20 4f 53 45 72 |pes..pas|cal OSEr|
|00000290| 72 20 44 6f 41 45 4f 70 | 65 6e 41 70 70 6c 69 63 |r DoAEOp|enApplic|
|000002a0| 61 74 69 6f 6e 28 41 70 | 70 6c 65 45 76 65 6e 74 |ation(Ap|pleEvent|
|000002b0| 20 2a 2c 20 41 70 70 6c | 65 45 76 65 6e 74 20 2a | *, Appl|eEvent *|
|000002c0| 2c 20 6c 6f 6e 67 20 72 | 65 66 43 6f 6e 29 3b 0d |, long r|efCon);.|
|000002d0| 70 61 73 63 61 6c 20 4f | 53 45 72 72 20 44 6f 41 |pascal O|SErr DoA|
|000002e0| 45 4f 70 65 6e 44 6f 63 | 75 6d 65 6e 74 73 28 41 |EOpenDoc|uments(A|
|000002f0| 70 70 6c 65 45 76 65 6e | 74 20 2a 2c 20 41 70 70 |ppleEven|t *, App|
|00000300| 6c 65 45 76 65 6e 74 20 | 2a 2c 20 6c 6f 6e 67 20 |leEvent |*, long |
|00000310| 72 65 66 43 6f 6e 29 3b | 0d 70 61 73 63 61 6c 20 |refCon);|.pascal |
|00000320| 4f 53 45 72 72 20 44 6f | 41 45 51 75 69 74 41 70 |OSErr Do|AEQuitAp|
|00000330| 70 6c 69 63 61 74 69 6f | 6e 28 41 70 70 6c 65 45 |plicatio|n(AppleE|
|00000340| 76 65 6e 74 20 2a 2c 20 | 41 70 70 6c 65 45 76 65 |vent *, |AppleEve|
|00000350| 6e 74 20 2a 2c 20 6c 6f | 6e 67 20 72 65 66 43 6f |nt *, lo|ng refCo|
|00000360| 6e 29 3b 0d 76 6f 69 64 | 20 44 6f 48 69 67 68 4c |n);.void| DoHighL|
|00000370| 65 76 65 6c 45 76 65 6e | 74 28 45 76 65 6e 74 52 |evelEven|t(EventR|
|00000380| 65 63 6f 72 64 20 2a 29 | 3b 0d 4f 53 45 72 72 20 |ecord *)|;.OSErr |
|00000390| 49 6e 73 74 61 6c 6c 41 | 70 70 6c 65 45 76 65 6e |InstallA|ppleEven|
|000003a0| 74 48 61 6e 64 6c 65 72 | 73 28 76 6f 69 64 29 3b |tHandler|s(void);|
|000003b0| 0d 76 6f 69 64 20 44 72 | 61 77 57 69 6e 64 6f 77 |.void Dr|awWindow|
|000003c0| 28 57 69 6e 64 6f 77 50 | 74 72 29 3b 0d 50 69 63 |(WindowP|tr);.Pic|
|000003d0| 48 61 6e 64 6c 65 20 47 | 65 74 57 69 6e 64 6f 77 |Handle G|etWindow|
|000003e0| 50 69 63 74 75 72 65 28 | 57 69 6e 64 6f 77 50 74 |Picture(|WindowPt|
|000003f0| 72 29 3b 0d 4f 53 45 72 | 72 20 53 65 74 57 69 6e |r);.OSEr|r SetWin|
|00000400| 64 6f 77 50 69 63 74 75 | 72 65 28 57 69 6e 64 6f |dowPictu|re(Windo|
|00000410| 77 50 74 72 2c 20 50 69 | 63 48 61 6e 64 6c 65 29 |wPtr, Pi|cHandle)|
|00000420| 3b 0d 4f 53 45 72 72 20 | 53 65 74 45 6d 70 74 79 |;.OSErr |SetEmpty|
|00000430| 57 69 6e 64 6f 77 50 69 | 63 74 75 72 65 28 57 69 |WindowPi|cture(Wi|
|00000440| 6e 64 6f 77 50 74 72 29 | 3b 0d 4f 53 45 72 72 20 |ndowPtr)|;.OSErr |
|00000450| 53 65 74 57 69 6e 64 6f | 77 50 69 63 74 75 72 65 |SetWindo|wPicture|
|00000460| 46 72 6f 6d 46 69 6c 65 | 28 46 53 53 70 65 63 50 |FromFile|(FSSpecP|
|00000470| 74 72 2c 20 57 69 6e 64 | 6f 77 50 74 72 29 3b 0d |tr, Wind|owPtr);.|
|00000480| 42 6f 6f 6c 65 61 6e 20 | 4b 65 79 49 73 44 6f 77 |Boolean |KeyIsDow|
|00000490| 6e 28 73 68 6f 72 74 29 | 3b 0d 76 6f 69 64 20 43 |n(short)|;.void C|
|000004a0| 6f 6e 63 61 74 50 61 73 | 63 61 6c 53 74 72 69 6e |oncatPas|calStrin|
|000004b0| 67 73 28 53 74 72 69 6e | 67 50 74 72 2c 20 53 74 |gs(Strin|gPtr, St|
|000004c0| 72 69 6e 67 50 74 72 29 | 3b 0d 4f 53 45 72 72 20 |ringPtr)|;.OSErr |
|000004d0| 47 65 74 41 70 70 6c 69 | 63 61 74 69 6f 6e 4e 61 |GetAppli|cationNa|
|000004e0| 6d 65 28 53 74 72 69 6e | 67 50 74 72 29 3b 0d 57 |me(Strin|gPtr);.W|
|000004f0| 69 6e 64 6f 77 50 74 72 | 20 4f 70 65 6e 50 69 63 |indowPtr| OpenPic|
|00000500| 74 75 72 65 49 6e 4e 65 | 77 57 69 6e 64 6f 77 28 |tureInNe|wWindow(|
|00000510| 46 53 53 70 65 63 50 74 | 72 29 3b 0d 76 6f 69 64 |FSSpecPt|r);.void|
|00000520| 20 44 6f 4f 70 65 6e 28 | 76 6f 69 64 29 3b 0d 57 | DoOpen(|void);.W|
|00000530| 69 6e 64 6f 77 50 74 72 | 20 44 6f 4e 65 77 57 69 |indowPtr| DoNewWi|
|00000540| 6e 64 6f 77 28 76 6f 69 | 64 29 3b 0d 76 6f 69 64 |ndow(voi|d);.void|
|00000550| 20 44 6f 43 6c 6f 73 65 | 57 69 6e 64 6f 77 28 57 | DoClose|Window(W|
|00000560| 69 6e 64 6f 77 50 74 72 | 29 3b 0d 76 6f 69 64 20 |indowPtr|);.void |
|00000570| 44 6f 51 75 69 74 28 76 | 6f 69 64 29 3b 0d 57 69 |DoQuit(v|oid);.Wi|
|00000580| 6e 64 6f 77 50 74 72 20 | 44 6f 41 62 6f 75 74 57 |ndowPtr |DoAboutW|
|00000590| 69 6e 64 6f 77 28 76 6f | 69 64 29 3b 0d 57 69 6e |indow(vo|id);.Win|
|000005a0| 64 6f 77 50 74 72 20 52 | 65 70 6f 72 74 45 72 72 |dowPtr R|eportErr|
|000005b0| 6f 72 49 6e 57 69 6e 64 | 6f 77 28 57 69 6e 64 6f |orInWind|ow(Windo|
|000005c0| 77 50 74 72 2c 20 53 74 | 72 69 6e 67 50 74 72 2c |wPtr, St|ringPtr,|
|000005d0| 20 4f 53 45 72 72 29 3b | 0d 57 69 6e 64 6f 77 50 | OSErr);|.WindowP|
|000005e0| 74 72 20 52 65 70 6f 72 | 74 53 74 72 69 6e 67 49 |tr Repor|tStringI|
|000005f0| 6e 57 69 6e 64 6f 77 28 | 57 69 6e 64 6f 77 50 74 |nWindow(|WindowPt|
|00000600| 72 2c 20 53 74 72 69 6e | 67 50 74 72 29 3b 0d 76 |r, Strin|gPtr);.v|
|00000610| 6f 69 64 20 43 72 65 61 | 74 65 4d 65 6e 75 73 28 |oid Crea|teMenus(|
|00000620| 76 6f 69 64 29 3b 0d 76 | 6f 69 64 20 44 6f 4d 65 |void);.v|oid DoMe|
|00000630| 6e 75 43 6f 6d 6d 61 6e | 64 28 6c 6f 6e 67 29 3b |nuComman|d(long);|
|00000640| 0d 0d 2f 2f 20 72 6f 75 | 74 69 6e 65 73 20 74 6f |..// rou|tines to|
|00000650| 20 73 75 70 70 6f 72 74 | 20 64 72 61 67 67 69 6e | support| draggin|
|00000660| 67 0d 0d 42 6f 6f 6c 65 | 61 6e 20 4d 6f 75 73 65 |g..Boole|an Mouse|
|00000670| 49 73 49 6e 43 6f 6e 74 | 65 6e 74 52 67 6e 28 44 |IsInCont|entRgn(D|
|00000680| 72 61 67 52 65 66 65 72 | 65 6e 63 65 2c 20 57 69 |ragRefer|ence, Wi|
|00000690| 6e 64 6f 77 50 74 72 29 | 3b 0d 42 6f 6f 6c 65 61 |ndowPtr)|;.Boolea|
|000006a0| 6e 20 44 72 61 67 49 74 | 65 6d 73 41 72 65 41 63 |n DragIt|emsAreAc|
|000006b0| 63 65 70 74 61 62 6c 65 | 28 44 72 61 67 52 65 66 |ceptable|(DragRef|
|000006c0| 65 72 65 6e 63 65 29 3b | 0d 42 6f 6f 6c 65 61 6e |erence);|.Boolean|
|000006d0| 20 44 72 61 67 49 73 4e | 6f 74 49 6e 53 6f 75 72 | DragIsN|otInSour|
|000006e0| 63 65 57 69 6e 64 6f 77 | 28 44 72 61 67 52 65 66 |ceWindow|(DragRef|
|000006f0| 65 72 65 6e 63 65 29 3b | 0d 70 61 73 63 61 6c 20 |erence);|.pascal |
|00000700| 4f 53 45 72 72 20 4d 79 | 54 72 61 63 6b 69 6e 67 |OSErr My|Tracking|
|00000710| 48 61 6e 64 6c 65 72 28 | 44 72 61 67 54 72 61 63 |Handler(|DragTrac|
|00000720| 6b 69 6e 67 4d 65 73 73 | 61 67 65 2c 20 57 69 6e |kingMess|age, Win|
|00000730| 64 6f 77 50 74 72 2c 0d | 09 76 6f 69 64 20 2a 2c |dowPtr,.|.void *,|
|00000740| 20 44 72 61 67 52 65 66 | 65 72 65 6e 63 65 29 3b | DragRef|erence);|
|00000750| 0d 70 61 73 63 61 6c 20 | 4f 53 45 72 72 20 4d 79 |.pascal |OSErr My|
|00000760| 52 65 63 65 69 76 65 48 | 61 6e 64 6c 65 72 28 57 |ReceiveH|andler(W|
|00000770| 69 6e 64 6f 77 50 74 72 | 2c 20 76 6f 69 64 20 2a |indowPtr|, void *|
|00000780| 2c 20 44 72 61 67 52 65 | 66 65 72 65 6e 63 65 29 |, DragRe|ference)|
|00000790| 3b 0d 4f 53 45 72 72 20 | 49 6e 73 74 61 6c 6c 44 |;.OSErr |InstallD|
|000007a0| 72 61 67 48 61 6e 64 6c | 65 72 73 28 57 69 6e 64 |ragHandl|ers(Wind|
|000007b0| 6f 77 50 74 72 20 74 68 | 65 57 69 6e 64 6f 77 29 |owPtr th|eWindow)|
|000007c0| 3b 0d 76 6f 69 64 20 52 | 65 6d 6f 76 65 44 72 61 |;.void R|emoveDra|
|000007d0| 67 48 61 6e 64 6c 65 72 | 73 28 57 69 6e 64 6f 77 |gHandler|s(Window|
|000007e0| 50 74 72 29 3b 0d 76 6f | 69 64 20 4f 75 74 6c 69 |Ptr);.vo|id Outli|
|000007f0| 6e 65 52 65 67 69 6f 6e | 28 52 67 6e 48 61 6e 64 |neRegion|(RgnHand|
|00000800| 6c 65 29 3b 0d 4f 53 45 | 72 72 20 44 6f 57 69 6e |le);.OSE|rr DoWin|
|00000810| 64 6f 77 43 6f 6e 74 65 | 6e 74 44 72 61 67 28 57 |dowConte|ntDrag(W|
|00000820| 69 6e 64 6f 77 50 74 72 | 2c 20 45 76 65 6e 74 52 |indowPtr|, EventR|
|00000830| 65 63 6f 72 64 20 2a 29 | 3b 0d 00 00 00 00 00 00 |ecord *)|;.......|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000890| 20 74 79 70 65 41 45 52 | 65 63 6f 72 64 20 27 72 | typeAER|ecord 'r|
|000008a0| 65 63 6f 27 0d 23 64 65 | 66 69 6e 65 20 74 79 70 |eco'.#de|fine typ|
|000008b0| 0c 53 69 6d 70 6c 65 44 | 72 61 67 2e 68 29 02 00 |.SimpleD|rag.h)..|
|000008c0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 00 00 c0 |..TEXTKA|HL......|
|000008d0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 00 00 c0 |..TEXTKA|HL......|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 a8 65 09 33 00 00 | 07 ba 00 00 01 ac 6d 65 |...e.3..|......me|
|00000900| 72 61 74 65 64 20 27 65 | 6e 75 6d 27 0d 23 64 65 |rated 'e|num'.#de|
|00000910| 66 69 6e 65 20 74 79 70 | 65 54 79 70 65 20 27 74 |fine typ|eType 't|
|00000920| 79 70 65 27 0d 23 64 65 | 66 69 6e 65 20 74 79 70 |ype'.#de|fine typ|
|00000930| 65 41 70 70 50 61 72 61 | 6d 65 74 65 72 73 20 27 |eAppPara|meters '|
|00000940| 61 70 70 61 27 0d 23 64 | 65 66 69 6e 65 20 74 79 |appa'.#d|efine ty|
|00000950| 70 65 50 72 6f 70 65 72 | 74 79 20 27 70 72 6f 70 |peProper|ty 'prop|
|00000960| 27 0d 23 64 65 66 69 6e | 65 20 74 79 70 65 46 53 |'.#defin|e typeFS|
|00000970| 53 20 27 66 73 73 20 27 | 0d 23 64 65 66 69 6e 65 |S 'fss '|.#define|
|00000980| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 72 0d 20 |...H..Mo|naco.r. |
|00000990| 2a 0d 20 2a 20 20 76 20 | 31 2e 30 64 32 20 20 37 |*. * v |1.0d2 7|
|000009a0| 2f 39 33 20 47 72 00 06 | 00 04 00 50 00 20 01 dd |/93 Gr..|...P. ..|
|000009b0| 02 3d 00 50 00 20 01 dd | 02 3d a8 66 e4 7a 00 00 |.=.P. ..|.=.f.z..|
|000009c0| 01 7d 00 00 01 7d 00 00 | 00 00 01 00 00 00 00 1e |.}...}..|........|
|000009d0| 00 50 00 20 01 dd 02 3d | 00 50 00 20 01 dd 02 3d |.P. ...=|.P. ...=|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 01 8e |.....n..|.n...>..|
|00000a00| 86 18 0f 10 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR|
|00000a10| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 03 f0 ff ff 00 00 00 4c | 01 90 df fc 00 00 00 00 |.......L|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+